﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TodoApp.ResultModel;

namespace TodoApp.TMS_SetUp.Positions
{
    public interface ITMS_PositionRepositon
    {
        Task<int> CreatePosition(TMS_Position tMS_Position);
        Task<int> DeletePosition(string id);
        Task<PageResponse<TMS_PositionDto>> GetPosition(string name, int pageindex = 1, int pagesize = 5);
        Task<int> UpdatePosition(TMS_PositionDto tMS_DepartmentDto);
    }
}
